package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 性能管理-性能对象 performance
 * 
 * @author tony
 * @date 2024-12-19
 */
public class Performance extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * ip
     */
    private String ip;

    /**
     * 网元id
     */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /**
     * 性能源
     */
    @Excel(name = "性能源")
    @ApiModelProperty(value = "性能源")
    private String source;

    /**
     * 对象名称
     */
    @Excel(name = "对象名称")
    @ApiModelProperty(value = "对象名称")
    private String objName;

    /**
     * 端口标注
     */
    @Excel(name = "端口标注")
    @ApiModelProperty(value = "端口标注")
    private String terminalLabel;

    /**
     * 线路号
     */
    @Excel(name = "线路号")
    @ApiModelProperty(value = "线路号")
    private String lineNo;

    /**
     * 性能代码
     */
    @Excel(name = "性能代码")
    @ApiModelProperty(value = "性能代码")
    private String code;

    /**
     * 英文性能代码
     */
    @Excel(name = "英文性能代码")
    @ApiModelProperty(value = "英文性能代码")
    private String englishCode;

    /**
     * 性能当前值
     */
    @Excel(name = "性能当前值")
    @ApiModelProperty(value = "性能当前值")
    private String currentValue;

    /**
     * 性能最大值
     */
    @Excel(name = "性能最大值")
    @ApiModelProperty(value = "性能最大值")
    private String maxValue;

    /**
     * 性能最小值
     */
    @Excel(name = "性能最小值")
    @ApiModelProperty(value = "性能最小值")
    private String minValue;

    /**
     * 性能中间值
     */
    @Excel(name = "性能中间值")
    @ApiModelProperty(value = "性能中间值")
    private String middleValue;

    /**
     * 开始时间
     */
    @Excel(name = "开始时间")
    @ApiModelProperty(value = "开始时间")
    private String startTime;

    /**
     * 结束时间
     */
    @Excel(name = "结束时间")
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    /**
     * 条目状态（0未激活 1已激活）
     */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /**
     * 删除标记（0正常 2删除）
     */
    private String delFlag;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    public String getElementId() {
        return elementId;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSource() {
        return source;
    }

    public void setObjName(String objName) {
        this.objName = objName;
    }

    public String getObjName() {
        return objName;
    }

    public void setTerminalLabel(String terminalLabel) {
        this.terminalLabel = terminalLabel;
    }

    public String getTerminalLabel() {
        return terminalLabel;
    }

    public void setLineNo(String lineNo) {
        this.lineNo = lineNo;
    }

    public String getLineNo() {
        return lineNo;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setEnglishCode(String englishCode) {
        this.englishCode = englishCode;
    }

    public String getEnglishCode() {
        return englishCode;
    }

    public void setCurrentValue(String currentValue) {
        this.currentValue = currentValue;
    }

    public String getCurrentValue() {
        return currentValue;
    }

    public void setMaxValue(String maxValue) {
        this.maxValue = maxValue;
    }

    public String getMaxValue() {
        return maxValue;
    }

    public void setMinValue(String minValue) {
        this.minValue = minValue;
    }

    public String getMinValue() {
        return minValue;
    }

    public void setMiddleValue(String middleValue) {
        this.middleValue = middleValue;
    }

    public String getMiddleValue() {
        return middleValue;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("elementId", getElementId())
                .append("source", getSource())
                .append("objName", getObjName())
                .append("terminalLabel", getTerminalLabel())
                .append("lineNo", getLineNo())
                .append("code", getCode())
                .append("englishCode", getEnglishCode())
                .append("currentValue", getCurrentValue())
                .append("maxValue", getMaxValue())
                .append("minValue", getMinValue())
                .append("middleValue", getMiddleValue())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("ip", getIp())
                .toString();
    }
}